home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games Extra 1996 September / Amiga Games Extra CD-ROM 9-1996.iso / userbox / publicdomain / vim-4.2 / doc / vim_unix.txt < prev    next >
Text File  |  1996-06-16  |  2KB  |  45 lines

  1. *vim_unix.txt*  For Vim version 4.2.  Last modification: 1996 Apr 23
  2.  
  3. This file contains the particularities for the Unix version of Vim.
  4.  
  5. For compiling Vim on Unix see "INSTALL" and "Makefile" in the src directory.
  6.  
  7. The default help filename is "/usr/local/lib/vim/vim_help.txt"
  8. The files "$HOME/.vimrc" and "$HOME/.exrc" are used instead of "s:.vimrc" and
  9. "s:.exrc". Additionally "/usr/local/etc/vimrc" is used first.
  10. If "/usr/local/share" exists it is used instead of "/usr/local/lib"
  11.  
  12. Temporary files (for filtering) are put in "/tmp".
  13.  
  14. With wildcard expansion you can use <~> (home directory) and <$>
  15. (environment variable).
  16.  
  17.                             *fork* *spoon*
  18. For executing external commands fork()/exec() is used when possible, otherwise
  19. system() is used, which is a bit slower.  The output of ":version" includes
  20. "+fork" when fork()/exec() is used.  This can be changed at compile time by
  21. defining USE_SYSTEM in feature.h.  (For forking of the GUI version see
  22. |gui_fork|).
  23.  
  24. Because terminal updating under Unix is often slow (e.g. serial line
  25. terminal, shell window in suntools), the 'showcommand' and 'ruler' options
  26. are default off. If you have a fast terminal, try setting them on.  You might
  27. also want to set 'ttyfast'.
  28.  
  29. When using Vim in an xterm the mouse clicks can be used by Vim by setting
  30. 'mouse' to "a". If you then still want the xterm copy/paste with the mouse,
  31. press the shift key when using the mouse.  See |mouse_using|.
  32.  
  33. To use colors in Vim you can use the following example (if your terminal
  34. supports colors!):
  35.     :set t_me=^[[0;1;36m     " normal mode (undoes t_mr and t_md)
  36.     :set t_mr=^[[0;1;33;44m  " reverse (invert) mode
  37.     :set t_md=^[[1;33;41m    " bold mode
  38.     :set t_se=^[[1;36;40m    " standout end
  39.     :set t_so=^[[1;32;45m    " standout mode
  40.     :set t_ue=^[[0;1;36m     " underline end
  41.     :set t_us=^[[1;32m       " underline mode start
  42.  
  43. The file "tools/Vim132" is a shell script that can be used to put Vim in 132
  44. column mode on a vt100 and lookalikes.
  45.